# encoding: UTF-8

Account.delete_all

Account.create :name => "Giancarlo Corzo", :email => "gian.corzo@gmail.com", :password => "admin", :status => true, :admin => true
Account.create :name => "Patricia Hurtado", :email => "patricia.hurtado@gmail.com", :password => "admin", :status => true, :admin => false

Section.delete_all

calendario = Section.create :active => true, :name => "Calendario", :short_name => "Calendario", :user_only => true, :controller => "agendas", :action => "calendar", :section_order => 1
frente = Section.create :active => true, :name => "Frente Parlamentario", :short_name => "Frente", :user_only => true, :controller => "frente", :action => "index", :section_order => 2
proyectos = Section.create :active => true, :name => "Proyectos de Ley", :short_name => "Proyectos", :user_only => true, :controller => "proyectos", :action => "index", :section_order => 3
agendas = Section.create :active => true, :name => "Agendas", :short_name => "Agendas", :user_only => true, :controller => "agendas", :action => "index", :section_order => 4
agendas_comision = Section.create :active => true, :name => "Agendas de Comisión", :short_name => "Agendas de Comisión", :user_only => true, :parent_section_id => agendas.id, :section_order => 4,:api_controller => "DocumentController",:section_container => "section-container",:section_pagination => "documents-pagination",:event_color => "#36c"
agendas_pleno = Section.create :active => true, :name => "Agendas de Pleno", :short_name => "Agendas de Pleno", :user_only => true, :parent_section_id => agendas.id, :section_order => 4,:api_controller => "PlenoDocumentController",:section_container => "agenda-pleno-section-container",:section_pagination => "agenda-pleno-pagination",:event_color => "#d7031e"
agendas_comision_permanente = Section.create :active => true, :name => "Comisión Permanente", :short_name => "Comisión Permanente", :user_only => true, :parent_section_id => agendas.id, :section_order => 4,:api_controller => "PermanenteDocumentController",:section_container => "agenda-permanente-section-container",:section_pagination => "agenda-permanente-documents-pagination",:event_color => "gray"
dictamenes = Section.create :active => true, :name => "Dictámenes", :short_name => "Dictámenes", :user_only => true, :controller => "dictamenes", :action => "index", :section_order => 5
expociones = Section.create :active => true, :name => "Exposiciones e Informes", :short_name => "Expociones", :user_only => true, :controller => "exposiciones", :action => "index", :section_order => 6
transcripciones = Section.create :active => true, :name => "Transcripciones", :short_name => "Transcripciones", :user_only => true, :controller => "transcripciones", :action => "index", :section_order => 7
mociones = Section.create :active => true, :name => "Mociones", :short_name => "Mociones", :user_only => true, :controller => "mociones", :action => "index", :section_order => 8
reportes = Section.create :active => true, :name => "Reportes de Monitoreo", :short_name => "Reportes", :user_only => true, :controller => "reportes", :action => "index", :section_order => 9
usuarios = Section.create :active => true, :name => "Usuarios", :short_name => "Usuarios", :user_only => false, :controller => "accounts", :action => "index", :section_order => 10
categorias = Section.create :active => true, :name => "Categorias", :short_name => "Categorias", :user_only => false, :controller => "categories", :action => "index", :section_order => 11

Category.delete_all

Category.create :name => "Alianza Parlamentaria", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 1
Category.create :name => "Alianza por el Gran Cambio", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 2
Category.create :name => "Concertación Parlamentaria", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 3
Category.create :name => "Fujimorista", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 4
Category.create :name => "Nacionalista Gana Perú", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 5
Category.create :name => "Solidaridad Nacional", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 6
Category.create :name => "Multipartidario", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 7
Category.create :name => "Poder Ejecutivo", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 8
Category.create :name => "Gobierno Regional y Local", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 9
Category.create :name => "Otros", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 10
Category.create :name => "Proyectos de Ley Aprobados", :category_type => "standard", :section => proyectos, :section_order => 3, :category_order => 11

Category.create :name => "Agraria", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 1
Category.create :name => "Trabajo y Seguridad Social", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 2
Category.create :name => "Inteligencia", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 3
Category.create :name => "Ciencia, Innovación y Tecnología", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 4
Category.create :name => "Transportes y Comunicaciones", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 5
Category.create :name => "Salud y Población", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 6
Category.create :name => "Comercio Exterior y Turismo", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 7
Category.create :name => "Justicia y Derechos Humanos", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 8
Category.create :name => "Relaciones Exteriores", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 9
Category.create :name => "Constitución y Reglamento", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 10
Category.create :name => "Presupuesto y Cuenta General de la República", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 11
Category.create :name => "La Mujer y la Familia", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 12
Category.create :name => "Cultura y Patrimonio Cultural", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 13
Category.create :name => "Economía, Banca, Finanzas e Inteligencia Financiera", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 14
Category.create :name => "Educación, Juventud y Deporte", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 15
Category.create :name => "Energía y Minas", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 16
Category.create :name => "Inclusión Social y Personas con Discapacidad", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 17
Category.create :name => "Fiscalización y Contraloría", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 18
Category.create :name => "Defensa del Consumidor y Organismos Reguladores de los Servicios Públicos", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 19
Category.create :name => "Producción, Micro y Pequeñas Empresas y Cooperativas", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 20
Category.create :name => "Vivienda y Construcción", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 21
Category.create :name => "Defensa Nacional, Orden Interno, Desarrollo Alternativo y Lucha contra las Drogas", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 22
Category.create :name => "Pueblos Andinos, Amazónicos y Afroperuanos, Ambiente y Ecología", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 23
Category.create :name => "Descentralización, Regionalización, Gobiernos Locales y Modernización de la Gestión del Estado", :category_type => "standard", :section => dictamenes, :section_order => 5, :category_order => 24

Category.create :name => "Alianza Parlamentaria", :category_type => "standard", :section => mociones, :section_order => 8, :category_order => 1
Category.create :name => "Alianza por el Gran Cambio", :category_type => "standard", :section => mociones, :section_order => 8, :category_order => 2
Category.create :name => "Concertación Parlamentaria", :category_type => "standard", :section => mociones, :section_order => 8, :category_order => 3
Category.create :name => "Fujimorista", :category_type => "standard", :section => mociones, :section_order => 8, :category_order => 4
Category.create :name => "Multipartidario", :category_type => "standard", :section => mociones, :section_order => 8, :category_order => 5
Category.create :name => "Nacionalista Gana Perú", :category_type => "standard", :section => mociones, :section_order => 8, :category_order => 6
Category.create :name => "Solidaridad Nacional", :category_type => "standard", :section => mociones, :section_order => 8, :category_order => 7

Category.create :name => "Transcripción de Sesiones de Comisión", :category_type => "title", :section => transcripciones, :section_order => 7, :category_order => 2
Category.create :name => "Agraria", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 3
Category.create :name => "Trabajo y Seguridad Social", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 4
Category.create :name => "Inteligencia", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 5
Category.create :name => "Ciencia, Innovación y Tecnología", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 6
Category.create :name => "Transportes y Comunicaciones", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 7
Category.create :name => "Salud y Población", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 8
Category.create :name => "Comercio Exterior y Turismo", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 9
Category.create :name => "Justicia y Derechos Humanos", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 10
Category.create :name => "Relaciones Exteriores", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 11
Category.create :name => "Constitución y Reglamento", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 12
Category.create :name => "Presupuesto y Cuenta General de la República", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 13
Category.create :name => "La Mujer y la Familia", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 14
Category.create :name => "Cultura y Patrimonio Cultural", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 15
Category.create :name => "Economía, Banca, Finanzas e Inteligencia Financiera", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 16
Category.create :name => "Educación, Juventud y Deporte", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 17
Category.create :name => "Energía y Minas", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 18
Category.create :name => "Inclusión Social y Personas con Discapacidad", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 19
Category.create :name => "Fiscalización y Contraloría", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 20
Category.create :name => "Defensa del Consumidor y Organismos Reguladores de los Servicios Públicos", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 21
Category.create :name => "Producción, Micro y Pequeñas Empresas y Cooperativas", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 22
Category.create :name => "Vivienda y Construcción", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 23
Category.create :name => "Defensa Nacional, Orden Interno, Desarrollo Alternativo y Lucha contra las Drogas", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 24
Category.create :name => "Pueblos Andinos, Amazónicos y Afroperuanos, Ambiente y Ecología", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 25
Category.create :name => "Descentralización, Regionalización, Gobiernos Locales y Modernización de la Gestión del Estado", :category_type => "standard", :section => transcripciones, :section_order => 7, :category_order => 26

Category.create :name => "Transcripción de Sesiones de Comisión Permanente", :category_type => "title", :section => transcripciones, :section_order => 7, :category_order => 27
Category.create :name => "Transcripción de Sesiones del Pleno", :category_type => "title", :section => transcripciones, :section_order => 7, :category_order => 28

Category.create :name => "Exposiciones en Comisiones", :category_type => "title", :section => expociones, :section_order => 6, :category_order => 1
Category.create :name => "Agraria", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 2
Category.create :name => "Trabajo y Seguridad Social", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 3
Category.create :name => "Inteligencia", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 4
Category.create :name => "Ciencia, Innovación y Tecnología", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 5
Category.create :name => "Transportes y Comunicaciones", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 6
Category.create :name => "Salud y Población", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 7
Category.create :name => "Comercio Exterior y Turismo", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 8
Category.create :name => "Justicia y Derechos Humanos", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 9
Category.create :name => "Relaciones Exteriores", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 10
Category.create :name => "Constitución y Reglamento", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 11
Category.create :name => "Presupuesto y Cuenta General de la República", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 12
Category.create :name => "La Mujer y la Familia", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 13
Category.create :name => "Cultura y Patrimonio Cultural", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 14
Category.create :name => "Economía, Banca, Finanzas e Inteligencia Financiera", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 15
Category.create :name => "Educación, Juventud y Deporte", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 16
Category.create :name => "Energía y Minas", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 17
Category.create :name => "Inclusión Social y Personas con Discapacidad", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 18
Category.create :name => "Fiscalización y Contraloría", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 19
Category.create :name => "Defensa del Consumidor y Organismos Reguladores de los Servicios Públicos", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 20
Category.create :name => "Producción, Micro y Pequeñas Empresas y Cooperativas", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 21
Category.create :name => "Vivienda y Construcción", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 22
Category.create :name => "Defensa Nacional, Orden Interno, Desarrollo Alternativo y Lucha contra las Drogas", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 23
Category.create :name => "Pueblos Andinos, Amazónicos y Afroperuanos, Ambiente y Ecología", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 24
Category.create :name => "Descentralización, Regionalización, Gobiernos Locales y Modernización de la Gestión del Estado", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 25

Category.create :name => "Informes en Comisiones", :category_type => "title", :section => expociones, :section_order => 6, :category_order => 26
Category.create :name => "Agraria", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 27
Category.create :name => "Trabajo y Seguridad Social", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 28
Category.create :name => "Inteligencia", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 29
Category.create :name => "Ciencia, Innovación y Tecnología", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 30
Category.create :name => "Transportes y Comunicaciones", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 31
Category.create :name => "Salud y Población", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 32
Category.create :name => "Comercio Exterior y Turismo", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 33
Category.create :name => "Justicia y Derechos Humanos", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 34
Category.create :name => "Relaciones Exteriores", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 35
Category.create :name => "Constitución y Reglamento", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 36
Category.create :name => "Presupuesto y Cuenta General de la República", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 37
Category.create :name => "La Mujer y la Familia", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 38
Category.create :name => "Cultura y Patrimonio Cultural", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 39
Category.create :name => "Economía, Banca, Finanzas e Inteligencia Financiera", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 40
Category.create :name => "Educación, Juventud y Deporte", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 41
Category.create :name => "Energía y Minas", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 42
Category.create :name => "Inclusión Social y Personas con Discapacidad", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 43
Category.create :name => "Fiscalización y Contraloría", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 44
Category.create :name => "Defensa del Consumidor y Organismos Reguladores de los Servicios Públicos", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 45
Category.create :name => "Producción, Micro y Pequeñas Empresas y Cooperativas", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 46
Category.create :name => "Vivienda y Construcción", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 47
Category.create :name => "Defensa Nacional, Orden Interno, Desarrollo Alternativo y Lucha contra las Drogas", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 48
Category.create :name => "Pueblos Andinos, Amazónicos y Afroperuanos, Ambiente y Ecología", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 49
Category.create :name => "Descentralización, Regionalización, Gobiernos Locales y Modernización de la Gestión del Estado", :category_type => "standard", :section => expociones, :section_order => 6, :category_order => 50

Category.create :name => "Informes de comisiones", :category_type => "title", :section => reportes, :section_order => 9, :category_order => 1
reporte_comercio = Category.create :name => "Comercio Exterior y Turismo", :category_type => "subheader", :section => reportes, :section_order => 9, :category_order => 2
Category.create :name => "Sesión Ordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_comercio.id, :section_order => 9, :category_order => 3,:category_code_name => "ordinaria"
Category.create :name => "Sesión Extraordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_comercio.id, :section_order => 9, :category_order => 4,:category_code_name => "extraordinaria"

reporte_agraria  = Category.create :name => "Agraria", :category_type => "subheader", :section => reportes, :section_order => 9, :category_order => 5
Category.create :name => "Sesión Ordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_agraria.id, :section_order => 9, :category_order => 6,:category_code_name => "ordinaria"
Category.create :name => "Sesión Extraordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_agraria.id, :section_order => 9, :category_order => 7,:category_code_name => "extraordinaria"

reporte_defensa  = Category.create :name => "Defensa del Consumidor y Organismos Reguladores de los Servicios Públicos", :category_type => "subheader", :section => reportes, :section_order => 9, :category_order => 8
Category.create :name => "Sesión Ordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_defensa.id, :section_order => 9, :category_order => 9,:category_code_name => "ordinaria"
Category.create :name => "Sesión Extraordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_defensa.id, :section_order => 9, :category_order => 10,:category_code_name => "extraordinaria"

reporte_economia = Category.create :name => "Economía, Banca, Finanzas e Inteligencia Financiera", :category_type => "subheader", :section => reportes, :section_order => 9, :category_order => 11
Category.create :name => "Sesión Ordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_economia.id, :section_order => 9, :category_order => 12,:category_code_name => "ordinaria"
Category.create :name => "Sesión Extraordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_economia.id, :section_order => 9, :category_order => 13,:category_code_name => "extraordinaria"

reporte_justicia = Category.create :name => "Justicia y Derechos Humanos", :category_type => "subheader", :section => reportes, :section_order => 9, :category_order => 14
Category.create :name => "Sesión Ordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_justicia.id, :section_order => 9, :category_order => 15,:category_code_name => "ordinaria"
Category.create :name => "Sesión Extraordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_justicia.id, :section_order => 9, :category_order => 16,:category_code_name => "extraordinaria"

reporte_transportes = Category.create :name => "Transportes y Comunicaciones", :category_type => "subheader", :section => reportes, :section_order => 9, :category_order => 17
Category.create :name => "Sesión Ordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_transportes.id, :section_order => 9, :category_order => 18,:category_code_name => "ordinaria"
Category.create :name => "Sesión Extraordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_transportes.id, :section_order => 9, :category_order => 19,:category_code_name => "extraordinaria"

reporte_trabajo = Category.create :name => "Trabajo y Seguridad Social", :category_type => "subheader", :section => reportes, :section_order => 9, :category_order => 20
Category.create :name => "Sesión Ordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_trabajo.id, :section_order => 9, :category_order => 21,:category_code_name => "ordinaria"
Category.create :name => "Sesión Extraordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_trabajo.id, :section_order => 9, :category_order => 22,:category_code_name => "extraordinaria"

reporte_varios = Category.create :name => "Varios", :category_type => "subheader", :section => reportes, :section_order => 9, :category_order => 23
Category.create :name => "Sesión Ordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_varios.id, :section_order => 9, :category_order => 24,:category_code_name => "ordinaria"
Category.create :name => "Sesión Extraordinaria", :category_type => "subcategory", :section=>reportes, :parent_category_id => reporte_varios.id, :section_order => 9, :category_order => 25,:category_code_name => "extraordinaria"


Category.create :name => "Informes Especiales", :category_type => "standard-title", :section => reportes, :section_order => 9, :category_order => 10
Category.create :name => "Reportes de Comisión semanal", :category_type => "standard-title", :section => reportes, :section_order => 9, :category_order => 11
Category.create :name => "Notas de prensa", :category_type => "standard-title", :section => reportes, :section_order => 9, :category_order => 12

Category.create :name => "Agraria", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 1
Category.create :name => "Trabajo y Seguridad Social", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 2
Category.create :name => "Inteligencia", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 3
Category.create :name => "Ciencia, Innovación y Tecnología", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 4
Category.create :name => "Transportes y Comunicaciones", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 5
Category.create :name => "Salud y Población", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 6
Category.create :name => "Comercio Exterior y Turismo", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 7
Category.create :name => "Justicia y Derechos Humanos", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 8
Category.create :name => "Relaciones Exteriores", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 9
Category.create :name => "Constitución y Reglamento", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 10
Category.create :name => "Presupuesto y Cuenta General de la República", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 11
Category.create :name => "La Mujer y la Familia", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 12
Category.create :name => "Cultura y Patrimonio Cultural", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 13
Category.create :name => "Economía, Banca, Finanzas e Inteligencia Financiera", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 14
Category.create :name => "Educación, Juventud y Deporte", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 15
Category.create :name => "Energía y Minas", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 16
Category.create :name => "Inclusión Social y Personas con Discapacidad", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 17
Category.create :name => "Fiscalización y Contraloría", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 18
Category.create :name => "Defensa del Consumidor y Organismos Reguladores de los Servicios Públicos", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 19
Category.create :name => "Producción, Micro y Pequeñas Empresas y Cooperativas", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 20
Category.create :name => "Vivienda y Construcción", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 21
Category.create :name => "Defensa Nacional, Orden Interno, Desarrollo Alternativo y Lucha contra las Drogas", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 22
Category.create :name => "Pueblos Andinos, Amazónicos y Afroperuanos, Ambiente y Ecología", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 23
Category.create :name => "Descentralización, Regionalización, Gobiernos Locales y Modernización de la Gestión del Estado", :category_type => "standard", :section => agendas_comision, :section_order => 4, :category_order => 24

Category.create :name => "Agendas del Pleno", :category_type => "standard", :section => agendas_pleno, :section_order => 4, :category_order => 1
Category.create :name => "Comisión Permanente", :category_type => "standard", :section => agendas_comision_permanente, :section_order => 4, :category_order => 1

Category.create :name => "Estructura Parlamentaria", :category_type => "title", :section => frente, :section_order => 2, :category_order => 1
frente_pleno = Category.create :name => "Pleno", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 2
frente_comision = Category.create :name => "Comisión permanente", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 3
frente_junta = Category.create :name => "Junta de Portavoces", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 4
frente_consejo = Category.create :name => "Consejo Directivo", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 5
frente_comisiones = Category.create :name => "Comisiones", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 6
frente_grupos = Category.create :name => "Grupos Parlamentarios", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 7

Category.create :name => "Comisiones", :category_type => "title", :section => frente, :section_order => 2, :category_order => 8
frente_agraria = Category.create :name => "Agraria", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 9
frente_trabajo = Category.create :name => "Trabajo y Seguridad Social", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 10
frente_inteligencia = Category.create :name => "Inteligencia", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 11
frente_ciencia = Category.create :name => "Ciencia, Innovación y Tecnología", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 12
frente_transporte = Category.create :name => "Transportes y Comunicaciones", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 13
frente_salud = Category.create :name => "Salud y Población", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 14
frente_comercio = Category.create :name => "Comercio Exterior y Turismo", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 15
frente_justicia = Category.create :name => "Justicia y Derechos Humanos", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 16
frente_relaciones = Category.create :name => "Relaciones Exteriores", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 17
frente_constitucion = Category.create :name => "Constitución y Reglamento", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 18
frente_presupuesto = Category.create :name => "Presupuesto y Cuenta General de la República", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 19
frente_mujer = Category.create :name => "La Mujer y la Familia", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 20
frente_cultura = Category.create :name => "Cultura y Patrimonio Cultural", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 21
frente_economia = Category.create :name => "Economía, Banca, Finanzas e Inteligencia Financiera", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 22
frente_educacion = Category.create :name => "Educación, Juventud y Deporte", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 23
frente_energia = Category.create :name => "Energía y Minas", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 24
frente_inclusion = Category.create :name => "Inclusión Social y Personas con Discapacidad", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 25
frente_fiscalizacion = Category.create :name => "Fiscalización y Contraloría", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 26
frente_defensa = Category.create :name => "Defensa del Consumidor y Organismos Reguladores de los Servicios Públicos", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 27
frente_produccion = Category.create :name => "Producción, Micro y Pequeñas Empresas y Cooperativas", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 28
frente_vivienda = Category.create :name => "Vivienda y Construcción", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 29
frente_defensa_nacional = Category.create :name => "Defensa Nacional, Orden Interno, Desarrollo Alternativo y Lucha contra las Drogas", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 30
frente_pueblos = Category.create :name => "Pueblos Andinos, Amazónicos y Afroperuanos, Ambiente y Ecología", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 31
frente_descentralizacion = Category.create :name => "Descentralización, Regionalización, Gobiernos Locales y Modernización de la Gestión del Estado", :category_type => "standard", :section => frente, :section_order => 2, :category_order => 32

Content.create :title => "Pleno", :body => "", :category => frente_pleno
Content.create :title => "Comisión Permanente", :body => "", :category => frente_comision
Content.create :title => "Junta de Portavoces", :body => "", :category => frente_junta
Content.create :title => "Consejo Directivo", :body => "", :category => frente_consejo
Content.create :title => "Comisiones", :body => "", :category => frente_comisiones
Content.create :title => "Grupos Parlamentarios", :body => "", :category => frente_grupos

Content.create :title => "Agraria", :body => "", :category => frente_agraria
Content.create :title => "Trabajo y Seguridad Social", :body => "", :category => frente_trabajo
Content.create :title => "Inteligencia", :body => "", :category => frente_inteligencia
Content.create :title => "Ciencia, Innovación y Tecnología", :body => "", :category => frente_ciencia
Content.create :title => "Transportes y Comunicaciones", :body => "", :category => frente_transporte
Content.create :title => "Salud y Población", :body => "", :category => frente_salud
Content.create :title => "Comercio Exterior y Turismo", :body => "", :category => frente_comercio
Content.create :title => "Justicia y Derechos Humanos", :body => "", :category => frente_justicia
Content.create :title => "Relaciones Exteriores", :body => "", :category => frente_relaciones
Content.create :title => "Constitución y Reglamento", :body => "", :category => frente_constitucion
Content.create :title => "Presupuesto y Cuenta General de la República", :body => "", :category => frente_presupuesto
Content.create :title => "La Mujer y la Familia", :body => "", :category => frente_mujer
Content.create :title => "Cultura y Patrimonio Cultural", :body => "", :category => frente_cultura
Content.create :title => "Economía, Banca, Finanzas e Inteligencia Financiera", :body => "", :category => frente_economia
Content.create :title => "Educación, Juventud y Deporte", :body => "", :category => frente_educacion
Content.create :title => "Energía y Minas", :body => "", :category => frente_energia
Content.create :title => "Inclusión Social y Personas con Discapacidad", :body => "", :category => frente_inclusion
Content.create :title => "Fiscalización y Contraloría", :body => "", :category => frente_fiscalizacion
Content.create :title => "Defensa del Consumidor y Organismos Reguladores de los Servicios Públicos", :body => "", :category => frente_defensa
Content.create :title => "Producción, Micro y Pequeñas Empresas y Cooperativas", :body => "", :category => frente_produccion
Content.create :title => "Vivienda y Construcción", :body => "", :category => frente_vivienda
Content.create :title => "Defensa Nacional, Orden Interno, Desarrollo Alternativo y Lucha contra las Drogas", :body => "", :category => frente_defensa_nacional
Content.create :title => "Pueblos Andinos, Amazónicos y Afroperuanos, Ambiente y Ecología", :body => "", :category => frente_pueblos
Content.create :title => "Descentralización, Regionalización, Gobiernos Locales y Modernización de la Gestión del Estado", :body => "", :category => frente_descentralizacion
